<div class="card">
    <div class="card-block">
        <div class="table-responsive">
            <div id="data-table_wrapper" class="dataTables_wrapper">
                <div class="dataTables_buttons hidden-sm-down actions">
                    <span class="actions__item zmdi zmdi-search" onclick="search()" title="搜索" />
                    <span class="actions__item zmdi zmdi-refresh-alt" onclick="refresh()" title="刷新" />
                    <!-- <div class="dropdown actions__item" >
                        <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>
                        <div class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" data-toggle="modal" data-target="#staff-add">新增</a>
                        </div>
                    </div> -->
                </div>
                <div id="data-table_filter" class="dataTables_filter">
                    <form class="staff-table-form">
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="input-group">
                                    <span class="input-group-addon">
					               	姓名：
					            </span>
                                    <div class="form-group">
                                        <input type="text" name="username" class="form-control">
                                        <input id="hiddenText" type="text" style="display:none" />
                                        <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
							<div class="col-sm-6">
							</div>
							<div class="col-sm-2">
								<div class="input-group">
									<span class="input-group-addon"> 
									<a href="javascript:void(0)" style='padding: 3px 1.5rem; display: inline-block; border: 1px solid #999999; margin-top: 12px; width: 100px; font-size: 14px;' data-toggle="modal" data-target="#staff-add">新增員工</a>
									</span>
								</div>
							</div>
                        </div>
                    </form>
                </div>
                <table id="staffTable" data-mobile-responsive="true" class="mb-bootstrap-table"></table>
            </div>
        </div>
    </div>
</div>
<div data-th-include="hotel/hotel/staffAdd"></div>
<script data-th-src="@{js/app/hotel/hotel/staff.js}"></script>
<script type="text/javascript">
 window.onkeydown = document.onkeydown = keydown; 
function keydown(evt) {
	var evt = window.event || evt
	if(evt.keyCode==13){
		search();
	}
} 
</script>